const express = require('express')
const router = express.Router()
const search = require('./search/search')
const login = require('./login/login')
const video = require('./video/video')
const imformation = require('./imformation/imformation')
const feedback = require('./feedback/feedback')
// 热搜榜
router.get('/search_hot', search.searchhot)
router.post('/addlogin', login.addlogin)
router.post('/login', login.login)
router.get('/getvideos', video.getvideos)
router.get('/getinfo', imformation.getinfo)
// 获取视频详情
router.get('/getvideosdetail', video.getvideosdetail)
router.post('/getfriends', imformation.getfriends)
router.get('/getinfo', imformation.getinfo)
router.get('/get_someone_videos', video.get_someone_videos)
router.get('/get_start', video.get_start)
router.get('/get_good_who', video.get_good_who)
router.get('/get_someone_videos', video.get_someone_videos)
router.get('/get_someone_videos', video.get_someone_videos)
router.get('/getComment', video.getComment)
router.get('/search', imformation.search)
router.get('/verifyCode',imformation.verifyCode)
router.post('/feedback',feedback.feedback)
module.exports = router
